package com.vcc.service.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.vcc.data.entity.UserStatistics;
import com.vcc.service.boss.request.userStatistics.UserStatisticsVo;

import java.util.List;

public interface UserStatisticsService extends IService<UserStatistics> {

    public Page<UserStatisticsVo> paging(
            Integer pageNumber,
            Integer pageSize,
            String startDate,
            String endDate,
            Long targetUserId,
            Long parentId,
            Long dealerId
    );


    List<String> existsByDates(String startDate,String endDate);

    List<UserStatisticsVo> listByDate(String startDate, String endDate, Long targetUserId, Long dealerId);

    Boolean existsByDate(String date);

    String getLastDate();

}
